from django.db import models


# Create your models here.
class Student(models.Model):
    #名字
    stu_name = models.CharField(max_length=255,null=False,unique=True)
    #性别
    sex = models.CharField(max_length=1,null=False)
    # 班级
    stu_class = models.CharField(max_length=255,null=False)
    # 专业
    specialized = models.CharField(max_length=255,null=False)
    # 头像地址
    img_path = models.CharField(max_length=255,)






